import { _decorator, Component, EventTarget, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('EventManager')
export class EventManager {
    //通用提示
    public static SHOW_NODE_TIP: string = "SHOW_NODE_TIP";

    /**刷新界面 */
    public static REFRESH_GAME: string = "REFRESH_GAME";

    /**刷新操作日志*/
    public static REFRESH_LOG: string = "REFRESH_LOG";

    /**刷新任务*/
    public static REFRESH_TASKCFGS: string = "REFRESH_TASKCFGS";

    /**刷新轮播图*/
    public static REFRESH_LINKCFGS: string = "REFRESH_LINKCFGS";

    /**主界面切换*/
    public static GAME_CHANGE_VIEW: string = "GAME_CHANGE_VIEW";

    /**回复视频播放*/
    public static PLAY_VIDEO: string = "PLAY_VIDEO";

    public static eventTarget:EventTarget = new EventTarget();

}


